<?php
	/**
	* @name 系统配置文件
	* @copyright tcsos inc
	* @version cooperation v1.0
	*/

	$_libconfig = array();
	/*+-----------------------DB CONFIG--------------------+*/
	//主数据库

	$_libconfig['db'][0]['host'] = '127.0.0.1';           //链接地址
	$_libconfig['db'][0]['usr'] = 'root';                 //账户
	$_libconfig['db'][0]['pwd'] = '123456';               //密码
	$_libconfig['db'][0]['port'] = '3306';                //端口
	$_libconfig['db'][0]['charset'] = 'utf8';             //密码
	$_libconfig['db'][0]['database'] = 'syt';        //库名
	$_libconfig['db'][0]['survey'] = true;          //是否监测,true要进行监测，false不进行监测
	$_libconfig['db'][0]['min_time'] = 0.1;          //最小时间，如果超出这个时间就记录，单位为 毫秒

	$_libconfig['memcache']['valid'] = false;    //是否开启
	$_libconfig['memcache']['host'] = '219.153.12.60';
	$_libconfig['memcache']['port'] = '3333';
	$_libconfig['memcache']['expire'] = '30';  //统一默认的过期时间，0为不过期
	$_libconfig['memcache']['project'] = 'tcxqt';   //项目名称

	/*+-----------------------SMTP CONFIG-----------------+*/
	$_libconfig['smtp']['host'] = 'smtp.163.com';        //链接地址
	$_libconfig['smtp']['usr'] = 'test_tcsos@163.com';      //账户
	$_libconfig['smtp']['pwd'] = 'tcsosadmin';                 //密码
	$_libconfig['smtp']['port'] = 25;                          //端口
	$_libconfig['smtp']['auth'] = true;                        //是否验证
	$_libconfig['smtp']['name'] = '同城小区通';                  //名称

	/*+-----------------------sms CONFIG-----------------+*/

	/*+-----------------------RUNTIME CONFIG-----------------+*/
	$_libconfig['runtime']['cache'] = false;              //环境缓存

	/*+-----------------------cookie CONFIG-----------------+*/
	$_libconfig['cookie']['path'] = '/';                  //保存路径
	$_libconfig['cookie']['prefix'] = 'syt2017';             //前缀
	$_libconfig['cookie']['domain'] = '201702.sytblb.com';               //域


	/*+-----------------------LOG CONFIG-----------------+*/
	$_libconfig['log']['path'] = '/data/logs/';           //日志保存目录
	$_libconfig['log']['level'] = 1;                      //日志等级          0关闭，1错误日志，2全开

	/*+-----------------------SYS CONFIG-----------------+*/
	$_libconfig['sys']['charset'] = 'utf-8';                                //网站编码
	$_libconfig['sys']['gzip'] = 1;                                         //开启gzip 0关闭 1开启

	//UCenter 接口配置
	$_libconfig['cache_user']['host'] = '118.122.178.65';     //用户缓存地址
	$_libconfig['cache_user']['port'] = '5859';             //用户缓存端口
	$_libconfig['cache_company']['domain'] = 'http://syt.tcapis.com';    //商户的用户接口域名

	/*+-----------------------REWRITE CONFIG-----------------------------+*/
	$_libconfig['rewrite']['no_ext'] = 'css|js|swf|jpg|jpeg|gif|png|ioc|html';         //不允许后缀访问入口点的文件


	/*+---------------------- 默认图片路径 --------------------------------+*/
	$_libconfig['img']['url'] = 'http://syt.tcapis.com';
	$_libconfig['default_pic']['96x72'] = '/static/img/nopic.png_96x72.png';
	$_libconfig['default_pic']['200x150'] = '/static/img/nopic.png_200x150.png';
	$_libconfig['default_pic']['400x300'] = '/static/img/nopic.png_400x300.png';
	$_libconfig['default_pic']['123x123'] = '/static/img/nopic.png_123x123.png';
	$_libconfig['default_pic']['104x106'] = '/static/img/nopic.png_104x106.png';
	$_libconfig['xiaoqu']['default'] = '/static/img/no_pic.gif';


	/*+-----------------------AERA CONFIG-----------------+*/
	$_libconfig['area']['xmp_path'] = '/';                                  //链接地址
	$_libconfig['area']['api_path'] = 'http://219.153.12.24:7171/';       //接口地址


	/*+-----------------------SWFUPLOAD CONFIG-----------------------------+*/
	$_libconfig['swfupload']['pic_format'] = 'jpg/png/jpeg/gif';    //允许上传的图片格式
	$_libconfig['swfupload']['pic_size'] = 3000000;
	$_libconfig['swfupload']['doc_format'] = 'rar/zip/doc/txt/xls/chm/pdf'; //允许上传的文档格式
	$_libconfig['swfupload']['doc_size'] = 500000000;
	$_libconfig['swfupload']['video_format'] = 'mp3/mp4/swf/flv';   //允许上传的多媒体格式
	$_libconfig['swfupload']['video_size'] = 10000000;
?>
